﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example04.aspx.cs" Inherits="Chapter22.Example04" %>

<!DOCTYPE html>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>代码清单 22-4 使用 direction 属性</title>
    <meta name="author" content="Adam Freeman" />
    <meta name="description" content="A simple example" />
    <link rel="shortcut ico" href="images/favicon.ico" type="image/x-ico" />
    <style type="text/css">
        #first {
            direction: ltr;
        }

        #second {
            direction: rtl;
        }
    </style>
</head>
<body>
    <p id="first">
        This is left-to-right text
    </p>
    <p id="second">
        This is right-to-left text
    </p>
</body>
</html>
